﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="Converters.xaml"/>
        <ResourceDictionary Source="ExternalResources.xaml"/>
    </ResourceDictionary.MergedDictionaries>

    <Geometry x:Key="DownArrow">M0,0 L1,0 0.5,1Z</Geometry>
    <Geometry x:Key="UpArrow">M0,1 L1,1 0.5,0Z</Geometry>
    <Geometry x:Key="RightArrow">M0,0 L1,0.5 0,1Z</Geometry>
    <Geometry x:Key="LeftArrow">M0,0.5 L1,1 1,0Z</Geometry>
    <Geometry x:Key="CloseX">M0,0 L1,0.9 M0,1 L0.9,0</Geometry>
    <Geometry x:Key="Maximise">M0,0 L0,1 L1,1 L1,0 L0,0</Geometry>
    <Geometry x:Key="Minimise">M0,1 L1,1</Geometry>

    <Style x:Key="ClassGlyph" TargetType="Rectangle">
        <Setter Property="Height" Value="10" />
        <Setter Property="Width" Value="10" />
        <Setter Property="SnapsToDevicePixels" Value="True" />
        <Setter Property="VerticalAlignment" Value="Center" />
        <Setter Property="HorizontalAlignment" Value="Center" />
        <Setter Property="Stroke" Value="{StaticResource LightForeground}" />
        <Setter Property="StrokeThickness" Value="1" />
        <Setter Property="Fill" Value="{Binding Path=Class, Converter={StaticResource ClassColourConverter}}" />
    </Style>


</ResourceDictionary>